/*
 * Preprocessor2D.h
 *
 *  Created on: Aug 26, 2011
 *      Author: tpz22rc
 */

#ifndef PREPROCESSOR2D_H_
#define PREPROCESSOR2D_H_

#define MAX_CONNECT 3
#define MAX_COORD 2
#define MAX_BOUND 4
#define MAT_BOUND 3
#define GEO 7

class MainProcess2D;

class Preprocessor2D {
private:
	int numOfC,numOfE,numOfB;
	friend class MainProcess2D;
public:
	Preprocessor2D();
	Preprocessor2D(const int &,const int &,const int &);
	virtual ~Preprocessor2D();

	double ** readCoord(const char *);
	int ** readElement(const char *);
	int ** readBound(const char *);
	double ** geometry(double **,int **);
	double ** getnorm(double **,int **);
	double * lmass(double **,int **);
};

#endif /* PREPROCESSOR2D_H_ */
